package com.jushu.storbox.database;

import java.util.List;

import com.jushu.storbox.entities.TeamSpaceInfo;
import com.huawei.sharedrive.sdk.android.modelV2.response.TeamSpaceEntity;


public interface ITeamSpaceDao extends IBaseDao{
	
	/**
	 * 插入团队空间,使用服务端对象
	 */

	public void insertTeamSpace(TeamSpaceEntity teamSpaceInfo,String memberShipsId,String teamRole);
	
	/**
	 * 插入团队空间,使用本地对象
	 */

	public void insertTeamSpace(TeamSpaceInfo teamSpaceInfo);
	
	
	/**
	 * 更新团队空间,使用服务端对象
	 */
	
	public void updateTeamSpace(TeamSpaceEntity teamSpaceInfo);
	
	/**
	 * 获取团队空间列表
	 */
	
	public List<TeamSpaceInfo> getTeamSpacesList();
	
	
	/**
	 * 删除团队空间
	 */
	public void deleteTeamSpace(String teamSpaceId);
	
	/**
	 * 获取单个团队空间
	 */
	public TeamSpaceInfo getTeamSpace(String teamSpaceId);

}
